<div class="sidebar animated fadeInDown">
    <div class="logo-title">
      <div class="title">
        <img src="{{ .Site.Params.profilePicture | absURL }}" alt="profile picture">
        <h3 title=""><a href="/">{{ .Site.Params.Title }}</a></h3>
      </div>
    </div>
    <div class="my-links">
        {{ range $item := .Site.Params.socialIcons }}
        <div class="link-items">
          <a href="{{ $item.url }}" rel="me" aria-label="{{ $item.title }}">
            <i class="iconfont {{ $item.icon }} link-icon"></i>
          </a>        
        </div>
        {{ end }}
    </div>
    <div class="nav">
      {{ $url := .RelPermalink }}
      {{ range .Site.Menus.main }}
      {{ $active := eq $url .URL }}
      <div class="nav-item">
        <a {{if $active }}class="current"{{end}} href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
      </div>
      {{ end }}
      <div class="nav-item">
        <a id="search-btn" href="javascript:void(0)">搜索</a>
      </div>
    </div>
    <div class="footer">
      <span id="busuanzi_container_site_pv">
        本站总访问量<span id="busuanzi_value_site_pv"></span>次 😎
      </span>
        <div class="by_farbox">&copy; {{ .Site.Params.auther }} {{ .Site.Params.since }}-{{ now.Format "2006"}}</div>
      </div>
    </div>
</div>